home *** CD-ROM | disk | FTP | other *** search
/ Acorn RISC PD-CD 1 / Acorn RISC PD-CD 1.iso / fractals / _3dlife / _help < prev    next >
Encoding:
Text File  |  1993-11-25  |  14.7 KB  |  292 lines

  1. Rabid Cat Software's !3DLife v1.0 Jan 1992
  2.  
  3. BACKGROUND
  4. ----------
  5.   Since time immemorial (or for a few years anyway) many implementations
  6. of John Horton-Conways original LIFE have been available. Most of these are
  7. sort of not very good, and there's so many of them the whole scene's a bit
  8. depressing. Now I do like to see a nice multi coloured Cellular Automata,
  9. the type of which people who are interested in LIFE and stuff like that
  10. sometimes write, but there's not many of them about either. My own !Splodge
  11. program's a bit crap because the colours all change and flash in a horrible
  12. manner, and it does your head in after a bit. However, all is not lost, for
  13. now no longer need you be bored by distinctly 'flat' looking LIFE or stare
  14. vacantly for hours at flashing colours. Yes at last! Its here! Its taken me
  15. ages to write! (and its still not properly finished). A true Cellular
  16. Automata for the 90s, 3-DIMENSIONAL LIFE !
  17.  
  18.   3D LIFE is not a new idea, in fact I think you can already get a PD
  19. version for the ARC, I first read about it in A.K.Dewdenys 'The Armchair
  20. Universe' which is a well excellent book all about things to do on
  21. computers, and I would recommend it to anyone who's interested.
  22.   Basically the idea is exactly the same as LIFE, a space is split into a
  23. grid, each space in the grid is a cell which can either be alive (i.e there,
  24. as in 'present') or dead ( not there ). At each tick of a cosmic clock every
  25. cell assumes a state that is entirely dependent on its previous state and
  26. the previous state of its immediate nieghbours.
  27.   The only difference with 3D LIFE is that the space in which all the action
  28. takes place is 3-dimensional one rather than a flat plane, and whereas in
  29. normal LIFE each cell has 8 potential nieghbours in 3D LIFE there are 26
  30. possible nieghbours, therefore making 3D LIFE more than 3 times as much fun
  31. as normal LIFE !
  32.  
  33.   As it's 3D, that makes representation a little bit harder, in my program
  34. the cells are little cubes ( or spheres ) and its like a sort of isometric
  35. projection. You can freeze the action if you want, and look at the cubes
  36. from different sides, also you can shift them about in the workspace ( ie if
  37. there were something interesting in one corner you could shift it to the
  38. centre, without affecting the processing ). You can't look at the cubes from
  39. any angle and there's no perspective or any flash stuff like that, because
  40. that would need filled in vector graphics, and I don't know how to do that.
  41.  
  42.   You can change the workspace size, and if you make it flat ( ie 1 high ),
  43. with the right rule it runs normal 2D LIFE ! (that'll keep the old hippies
  44. happy - keeps me happy anyway). Anyway there now follows a concise set of
  45. instructions for all the available functions. Also you might like to load up
  46. the ViewMe file into !Draw, Yeah I know its self indulgent but its took me
  47. long enough to write this program so I think I should be able to do what I
  48. like.
  49.   
  50.   Oh right, nearly forgot the best bit, Multisync monitor owners prepare to
  51. be amazed - there are two complete sets of graphics for this program, thus
  52. implementing a full Multisync version with quite nice graphics. Enjoy it
  53. while it lasts Multisync monitor owners, I'm not going to do it again, too
  54. much like hard work !
  55.  
  56.  
  57. INSTRUCTIONS
  58. ------------
  59.   These instructions are fairly comprehensive, but I think they only need to
  60. be refered to if you have a problem, the best bet is to mess around with
  61. the program. Check out the ideas section at the end of this for some things
  62. you might like to try.
  63.  
  64.   When the program starts you will see some small cubes moving about in the
  65. centre of the screen. These cubes occupy a space which is 14 cubes high by
  66. 14 cubes across by 14 cubes deep. This is just the way the program starts,
  67. this space can be any shape or size up to 30 x 30 x 30 ( or 62 x 62 x 62 if
  68. you have enough memory ).
  69.   In the corners of the screen ( out of the way of the cubes ) there are
  70. four coloured triangles with various icons in them. Clicking the mouse on
  71. these icons provides full control over the program, there are no other
  72. screens or menus you need to know about. These are the functions the icons
  73. control :
  74.  
  75. TOP LEFT TRIANGLE (grey) This contains :
  76.  
  77.    - The program title ( 3D LIFE ).
  78.    - Some moving arrows ( click on these to turn the effect on and off ).
  79.  
  80.   "B" Icon - this toggles between Small Mode, max space size 30 x 30 x 30
  81.              cubes, and Large Mode, max size 62 x 62 x 62 cubes. When in
  82.              Large Mode the icon is highlighted by a yellow border, this
  83.              mode is only selectable if you have enough memory, if you don't
  84.              an error message will be produced and the program will exit.
  85.   
  86.   "M" Icon - this toggles between multisync mode and normal mode, it is an
  87.              option only available to multisync owners, and the icon will
  88.              not even appear if you don't have one. Multisync owners however
  89.              may prefer normal mode operation as the program runs a bit
  90.              faster.
  91.  
  92.   WARNING: Both these operations re-run the program and lose all current
  93.            statuses and operations that may have been set up.
  94.  
  95. TOP RIGHT TRIANGLE (blue) This contains :
  96.  
  97.   Rotator  - This rotates at a speed dependent on the speed of program
  98.              operation. Click on it to stop/start it rotating.
  99.  
  100.   Yellow     There are four of these all together, they rotate the cube
  101.   arrow    - formation within the space by 90 degrees, in the direction
  102.   in red     of the arrow. The formation is otherwise unaffected, and this
  103.              allows the cube formation to be viewed from different sides.
  104.   
  105.   --- Rule bar ---
  106.  
  107.   This is an important function. The bar shows the current rule that governs
  108. the action of the cells, it is split into two rows of 27 symbols. The top
  109. row shows the fate ( i.e the state in the next generation ) of a cell that
  110. is currently live, i.e. 'there', whereas the bottom row shows the fate of a
  111. cell that is currently dead i.e. 'not there'.
  112.   The 27 symbols respectively show the fate of a cell with 0 to 26 (the
  113. maximum possible) live nieghbours ( the nieghbours are the cubes immediatly
  114. adjacent to the cube in question, and those on the corners ).
  115.   On the rule bar, a white block represents a cell that becomes alive, a
  116. dark red one a cell that becomes dead. 
  117.   This is made clearer by the text below the rule bar, as the mouse pointer
  118. passes over the rule bar the text changes to show what the block pointed at
  119. implies. E.g. If the pointer were pointing at the top leftmost block, and
  120. this were dark red, it would say,
  121.              
  122.                   ALIVE CELL WITH 0 ADJACENT BECOMES DEAD
  123.  
  124.   The rule can be changed by clicking on the blocks in the rule bar, this
  125. toggles them between 'BECOMES LIVE' and 'BECOMES DEAD'. Or alternatively
  126. rule editing can be done by clicking on the text below. The first word
  127. toggles between "ALIVE" and "DEAD". Clicking on the number counts it through
  128. from 0 to 26, and clicking on the final word toggles it between 'BECOMES
  129. DEAD' and 'BECOMES ALIVE' - and by this method the rule can be changed.
  130.  
  131.   See the final section, "IDEAS", for some good rules to try.
  132.  
  133. BOTTOM LEFT TRIANGLE (yellow) This contains :
  134.  
  135.   Quit      - Click on this to exit to desktop.
  136.  
  137.   Formation - These 6 arrows in red discs shift the cube formation about
  138.   Shift       within the cube workspace. Each arrow shifts in the direction
  139.               it points in. If 'Wrapping' (see later) is on, then any cubes
  140.               that go off one side reappear on the other, leaving processing
  141.               unaffected. However if 'Wrapping' is off cubes that go over the
  142.               edge are lost forever.
  143.  
  144.   HLT      -  This freezes the processing allowing the cube formation to be
  145.               examined. When the program is frozen the HLT icon is
  146.               highlighted by a moving border. Click on it again to resume
  147.               processing.
  148.   
  149.   'S'      -  This becomes highlighted when the processing is frozen by
  150.               'HLT', clicking on it causes the program to go on a single
  151.               step at a time.
  152.   
  153.   Random      This is the left most of the three main icons. When clicked on,
  154.   Start    -  this clears the cube area and then randomly spreads 'live'
  155.               cubes about. The density of the cubes in a random start can be
  156.               varied by the 'Random %' icon in the bottom right triangle
  157.               (see later).
  158.    
  159.   'r'      -  This performs the same function as above, but the Seed used
  160.   Random      for the random generation is the same as that used by the last
  161.   Restart     Random Start. i.e. this repeats exactly the last Random Start
  162.               ( if something interesting happened then you can watch it all
  163.               over again, perhaps freezing processing at interesting spots,
  164.               etc).
  165.   
  166.   File        This is in the centre of the three main icons. When this is
  167.   Start    -  clicked on, the cube area is cleared and replaced by the
  168.               formation of cubes held in the current File. This file contains
  169.               a 2 x 2 x 2 block at the start of the program, but this can be
  170.               replaced by any formation of your own (see File Save below).
  171.  
  172.   ----EDIT MODE----
  173.   
  174.   The rightmost of the three main icons toggles Edit Mode on or off, when
  175.   on, this icon is highlighted by a moving border.
  176.   
  177.   Edit Mode is for you to define your own cube formations and the run them 
  178.   with whatever rule you choose to see what happens. This is very useful
  179.   for looking for Gliders or Stable formations etc. This how it works :
  180.   
  181.   1) First freeze the processing with 'HLT'. (This is not essential, but if
  182.      processing is not frozen any formations you are editing will be
  183.      destroyed before you get very far !)
  184.  
  185.   2) Switch on 'Edit Mode'. The Edit Mode icon will become highlighted, and
  186.      also the front plane of the cube block will become highlighted, as all
  187.      the cubes in that plane will become a different colour.
  188.  
  189.   3) The highlighted cubes can be edited by clicking on them with the mouse
  190.      pointer. This will toggle them between alive ( 'there' ) and dead 
  191.      ( 'not there' ).
  192.  
  193.   4) Any one of the 3 front planes ( left,right and top ) can be highlighted
  194.      and edited clicking on the 'Plane Switch' icon ( bottom right corner of
  195.      the yellow triangle) switches which one is highlighted.
  196.   
  197.   5) By editing the front planes, and by use of the 'Formation Shift'
  198.      functions (see above), any formation of cubes can be designed.
  199.   
  200.   File Save - When you have created a formation in Edit Mode, to store it
  201.               temporarily while you run it, (so the original formation can
  202.               be called up again at any time), click on the 'File Save'
  203.               icon. (This is the small icon with the red "F" next to the
  204.               blue cube).'File Start' will then restart processing from
  205.               the saved file.
  206.  
  207.   Plane     - Switches editable plane when in Edit Mode ( see 'EDIT MODE'
  208.   Switch      above).
  209.  
  210. BOTTOM RIGHT TRIANGLE (red) This contains:
  211.  
  212.   Cube space - The three numbers with arrows to either side show the size
  213.   Adjusters    of the physical space in which all the action takes place.
  214.                The numbers are the size of the dimensions in cube units,
  215.                i.e. 10 x 10 x 10 means the space shown is 10 cubes high,
  216.                by 10 cubes wide by 10 cubes deep. The size of each dimension
  217.                can be cahnged at any time by clicking on the arrows at
  218.                either side.
  219.  
  220.   Wrapping   - Clicking on 'W' Toggles wrapping on and off. Wrapping governs
  221.                how the edges of the cube space act. With wrapping 'on' cubes
  222.                at the extreme edge of the space touch ( imaginarily ) the
  223.                cubes at the opposite edge, thus the space 'wraps' around on
  224.                itself. With wrapping 'off' a dead zone it set up around the
  225.                outside of the cube space, so any cube at the edge of the
  226.                space will get a reading of zero ( dead cell ) for all
  227.                nieghbours beyond the edge of the space.
  228.                ( When wrapping is on the 'W' becomes yellow )
  229.               
  230.   Lights     - Clicking on 'L' toggles the flourescent tube lighting effect
  231.                on and off.
  232.  
  233.   Rnd %      - The bar at the extreme right controls the percentage of cells
  234.                that become alive on a random start. The higher the bar the
  235.                greater the percentage of live cells.
  236.  
  237.   Speed      - The arrow pointing to the scale between the hare and the
  238.   Control      tortoise controls the speed of the program operation, the
  239.                nearer to the hare, the faster the program runs.
  240.  
  241.   Cube Type  - Clicking on the icon with the picture pf a cube in it changes
  242.                the image of the cube used in the display. Different size
  243.                cubes and spheres are available for the best viewing effect.
  244.  
  245.   Pallette   - Clicking on the icon with the pallete in the centre of it
  246.                changes the colour of the displayed cube image.
  247.  
  248.  
  249.    IDEAS
  250.  ---------
  251.  
  252. -- Good Rules To Try --
  253.  
  254.   One class of rules that are easy to talk about are those that consist of
  255. a range of numbers of nieghbours that a cell becomes alive with, for both
  256. dead and alive cells. Eg. a live cell stays alive with 4-5 nieghbours only
  257. (inclusive) a dead cell becomes alive with 5-6 nieghbours. These type
  258. of rules lend themselves to an easy notation, the live cell values first,
  259. the dead ones second. Eg. the above rule could be called LIFE 4556. Other
  260. rules similar to this are worth experimenting with, LIFE 5667 for example.
  261.  
  262.   The main things to find in any potential LIFE are, stable forms, multi
  263. stable forms ( flips between two or more forms ) and gliders ( multi stables
  264. that 'move' across the screen ). All these forms can be found in normal 2D
  265. Life, and any good analagous 3D Life will produce them. Gliders are the
  266. hardest things to find, and the most prized, I know for a fact that there is
  267. a 3D Life rule ( possibly LIFE 4556 ) that has one, but I can't remember
  268. what it looks like.
  269.  
  270.   Other things to try include running 2D Life. The rule for 2D Life is that
  271. a dead cell with 3 nieghbours becomes alive, and a live cell with 2 or 3
  272. nieghbours stays alive so in the above notation this becomes LIFE 2333.
  273. Set the cube space up so it's flat i.e one dimension = 1, and a certain rule
  274. will run normal Life, depending on whether Wrapping is on or off, I'll
  275. leave it to you to discover what the rule is.
  276.  
  277.   For more ideas I suggest the book 'The Armchair Universe' by A.K.Dewdeny.
  278.  
  279.   Finally, anyone who finds a good rule, or any gliders or anything, I would
  280. like to hear about it. Or for any other comments about the program or
  281. whatever, you can write to me.
  282.  
  283.                                     John Hedley
  284.                                      15 Hill Rise
  285.                                       Trowell
  286.                                        Nottingham
  287.                                         NG9 3PE
  288.  
  289.  
  290.  
  291.  
  292.